Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround 20.04 FindBoost issue #145

Merged
merged 1 commit into from
Dec 20, 2022
Merged

Conversation

shishirb-MSFT
Copy link
Collaborator

No description provided.

@shishirb-MSFT shishirb-MSFT requested a review from a team as a code owner December 20, 2022 20:57
@shishirb-MSFT shishirb-MSFT merged commit c0c7150 into develop Dec 20, 2022
@shishirb-MSFT shishirb-MSFT deleted the user/shishirb/cleanup-deb9 branch December 20, 2022 21:42
# (Enable --trace-expand in cmake and look at lines from boost_headers-config.cmake and its callers.)
# Workaround: force cmake to look in "/usr" since the /lib and /bin paths are either
# not relevant for our usage or they are symlinks to /usr/lib and /usr/bin.
set(CMAKE_PREFIX_PATH "/usr")
Copy link

@JeffMill JeffMill Dec 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are we okay just always using /usr/* ? is there ever a case where we'd want to search /lib or /bin ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build is successful on all of the platforms we target today. We will definitely revisit if it breaks somewhere.

shishirb-MSFT added a commit that referenced this pull request Mar 23, 2023
* A prior PR (#145) fixed the issue when building DO itself. However, consumers of DO still face the issue because DO's cmake config file was not updated. This is now fixed.
* DO's own CMakeLists.txt checks for /lib being a symlink before updating CMAKE_PREFIX_PATH (update to fix in #145).
* Also enable exec permission for the sdk cleanup install script.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants